package com.wyq.service.impl;

import java.util.List;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.wyq.dao.AdminMenuDAO;
import com.wyq.service.AdminMenuService;

public class AdminMenuServiceImpl implements AdminMenuService {
	private AdminMenuDAO adminMenuDAO;

	public List findParentMenu() throws Exception{
		return adminMenuDAO.findParentMenu();
	}

	public List findSubMenu(String parentId) throws Exception {
		return adminMenuDAO.findSubMenu(parentId) ;
	}

	
	
	
	public void setAdminMenuDAO(AdminMenuDAO adminMenuDAO) {
		this.adminMenuDAO = adminMenuDAO;
	}
	
	

}
